//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02B
TN_Widget.CreateTable([['Head In The Clouds Festival: (G)I-dle, Illenium, Joji & Atarashii Gakko! - 2 Day Pass','Forest Hills Stadium','Forest Hills, NY','Saturday','5/11/2024','TBD','6252680','Head-In-The-Clouds-Festival---G-I-dle--Illenium--Joji---Atarashii-Gakko----2-Day-Pass-5-11-2024'],['Head In The Clouds Festival: (G)I-dle, Illenium, b2b Dabin & Balming Tiger - Saturday','Forest Hills Stadium','Forest Hills, NY','Saturday','5/11/2024','3:00 PM','6260147','Head-In-The-Clouds-Festival---G-I-dle--Illenium--b2b-Dabin---Balming-Tiger---Saturday-5-11-2024'],['Head In The Clouds Festival: Joji, Atarashii Gakko!, Bibi, Awich & deb never - Sunday','Forest Hills Stadium','Forest Hills, NY','Sunday','5/12/2024','3:00 PM','6260148','Head-In-The-Clouds-Festival--Joji--Atarashii-Gakko---Bibi--Awich---deb-never---Sunday-5-12-2024'],['Neil Young & Crazy Horse','Forest Hills Stadium','Forest Hills, NY','Tuesday','5/14/2024','7:00 PM','6264905','Neil-Young---Crazy-Horse-5-14-2024'],['Neil Young & Crazy Horse','Forest Hills Stadium','Forest Hills, NY','Wednesday','5/15/2024','7:30 PM','6276698','Neil-Young---Crazy-Horse-5-15-2024'],['The Avett Brothers & Sierra Ferrell','Forest Hills Stadium','Forest Hills, NY','Friday','5/17/2024','7:00 PM','6211924','The-Avett-Brothers---Sierra-Ferrell-5-17-2024'],['Hozier & Allison Russell','Forest Hills Stadium','Forest Hills, NY','Tuesday','6/4/2024','7:00 PM','6072054','Hozier---Allison-Russell-6-4-2024'],['Hozier & Allison Russell','Forest Hills Stadium','Forest Hills, NY','Wednesday','6/5/2024','7:00 PM','6072055','Hozier---Allison-Russell-6-5-2024'],['Hozier & Allison Russell','Forest Hills Stadium','Forest Hills, NY','Friday','6/7/2024','7:00 PM','6096916','Hozier---Allison-Russell-6-7-2024'],['Hozier','Forest Hills Stadium','Forest Hills, NY','Saturday','6/8/2024','7:00 PM','6240915','Hozier-6-8-2024'],['Pixies & Modest Mouse','Forest Hills Stadium','Forest Hills, NY','Saturday','6/15/2024','5:30 PM','6227077','Pixies---Modest-Mouse-6-15-2024'],['Goose','Forest Hills Stadium','Forest Hills, NY','Saturday','6/29/2024','6:30 PM','6252335','Goose-6-29-2024'],['King Gizzard and The Lizard Wizard','Forest Hills Stadium','Forest Hills, NY','Friday','8/16/2024','5:30 PM','5940002','King-Gizzard-and-The-Lizard-Wizard-8-16-2024'],['King Gizzard and The Lizard Wizard','Forest Hills Stadium','Forest Hills, NY','Saturday','8/17/2024','5:30 PM','5932049','King-Gizzard-and-The-Lizard-Wizard-8-17-2024'],['UTS - Tennis Like Never Before','Forest Hills Stadium','Forest Hills, NY','Thursday','8/22/2024','3:30 PM','6333784','UTS---Tennis-Like-Never-Before-8-22-2024'],['UTS - Tennis Like Never Before','Forest Hills Stadium','Forest Hills, NY','Friday','8/23/2024','4:00 PM','6333785','UTS---Tennis-Like-Never-Before-8-23-2024'],['Pitbull','Forest Hills Stadium','Forest Hills, NY','Sunday','8/25/2024','7:00 PM','6377753','Pitbull-8-25-2024'],['Dom Dolla','Forest Hills Stadium','Forest Hills, NY','Friday','8/30/2024','5:00 PM','6297133','Dom-Dolla-8-30-2024'],['Porter Robinson','Forest Hills Stadium','Forest Hills, NY','Saturday','8/31/2024','7:00 PM','6406727','Porter-Robinson-8-31-2024'],['The National & The War On Drugs','Forest Hills Stadium','Forest Hills, NY','Friday','9/13/2024','5:45 PM','6287207','The-National---The-War-On-Drugs-9-13-2024'],['Kings of Leon & Phantogram','Forest Hills Stadium','Forest Hills, NY','Wednesday','9/18/2024','7:00 PM','6281699','Kings-of-Leon---Phantogram-9-18-2024'],['Khruangbin','Forest Hills Stadium','Forest Hills, NY','Friday','9/20/2024','7:00 PM','6239612','Khruangbin-9-20-2024'],['Khruangbin','Forest Hills Stadium','Forest Hills, NY','Saturday','9/21/2024','7:00 PM','6239613','Khruangbin-9-21-2024'],['The Marley Brothers','Forest Hills Stadium','Forest Hills, NY','Sunday','9/22/2024','7:00 PM','6377756','The-Marley-Brothers-9-22-2024'],['Sofi Tukker','Forest Hills Stadium','Forest Hills, NY','Thursday','9/26/2024','7:00 PM','6377755','Sofi-Tukker-9-26-2024'],['Idles','Forest Hills Stadium','Forest Hills, NY','Friday','9/27/2024','7:00 PM','6249741','Idles-9-27-2024'],['Tiesto','Forest Hills Stadium','Forest Hills, NY','Friday','10/25/2024','5:00 PM','6348428','Tiesto-10-25-2024'],['Gryffin','Forest Hills Stadium','Forest Hills, NY','Saturday','10/26/2024','6:00 PM','6358641','Gryffin-10-26-2024']],'Forest Hills Stadium','http://www.ticketnetwork.com/ticket/Forest-Hills-Stadium-events.aspx');